package com.example.demo.controller;


import com.example.demo.config.MyAspect;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/user")
public class UserController {
    @MyAspect
    @RequestMapping("/login")
    public boolean login(String name, String password) {
        return true;
    }

}
